﻿#region SYSTEM
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
#endregion

#region CUSTOM
using BusinessEntity.Patient;
using BusinessEntity.Common;
using Common.DbConstants;
using DataAccess.Provider;
#endregion

namespace BusinessAction.Patient
{
    public class ProviderManagement
    {

        public SortableCollection<PatientVisit> SearchVisits(string sessionId, BusinessEntity.Patient.Patient oSearchPatient, out string successMessage, out string errorMessage)
        {
            return ProviderAdapter.SearchVisits(sessionId, oSearchPatient, out successMessage, out errorMessage);
        }

        public SortableCollection<PatientVisit> AddVisit(string sessionId, BusinessEntity.Patient.Patient oPatient, out string successMessage, out string errorMessage)
        {
            return ProviderAdapter.AddVisit(sessionId, oPatient, out successMessage, out errorMessage);
        }
 
    }
}
